package com.xq.pethome.system.user.service.impl;

import com.xq.pethome.system.user.domain.User;
import com.xq.pethome.system.user.mapper.UserMapper;
import com.xq.pethome.system.user.service.IUserService;
import com.xq.pethome.base.service.Impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author xkk
 * @since 2023-01-25
 */
@Service
public class UserServiceImpl extends BaseServiceImpl<User> implements IUserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public User findByEmail(String email) {
        return userMapper.findByEmail(email);
    }
}
